home *** CD-ROM | disk | FTP | other *** search
- BootMenu
- Ver 2.10
- ========
-
- I've made up quite a few turn-key systems in the last few years and
- to tell the truth programming in DOS batch files is slow. That's when I
- realized the need for BootMenu. Bootmenu is a small program written in
- Turbo Pascal that takes most of the work out of multi-optioned batch files.
- Here's How to use it.
-
-
- I. INITialization - At the DOS prompt Type "BOOTMENU INIT" and you will
- see a list of six options to choose from. These
- allow you to customize BootMenu to your own application.
-
- 1. Normal Color : Choose one of the 128 colors ( some may not
- appear on Monochrome displays ).
-
- 2. Reverse Color : Same as above.
-
- 3. Title Name : Enter the name of the menu that will be centered
- at the top of the Screen. Examples:
- " Viking SoftWare Main Menu "
- " Bill's Computer System "
-
- 4. Menu List : Enter up to 19 menu choices and their exit codes.
- The Exit Codes can be any number from 0 to 255
- and will be used to tell our batch file what
- option was choosen through the ErrorLevel code.
-
- 5. Save Changes : This will update your version of BootMenu with
- your personalized settings. You MUST save the
- changes if you want to keep them.
-
- 6. Exit : Self explanitory.
-
-
- II. Usage - Once you have initialized BootMenu you can now see how good
- it looks. At the DOS prompt type "BOOTMENU GO". Use the up
- and down arrows to select an option and then press return.
- Isn't that nice ? But we're not done yet. We must now create
- the batch file to control our system. A sample used to play
- games is shown below :
-
- echo off
- :begin
- Bootmenu go
- if errorlevel 5 goto exit
- if errorlevel 4 othello
- if errorlevel 3 lemonaid
- if errorlevel 2 roulette
- if errorlevel 1 gwbasic poker
- goto begin
- :exit
- cls
- echo Thank you for playing...
-
- You can See that our menu has five options. The fifth being exit to DOS.
- Please note that the ERRORLEVEL checking is done in decending order. DOS's
- Batch interpreter needs them that way in order to work properly. I think
- You have enough info here to get you going. If you use this program and
- find it usefull a donation of $ 5.00 to the address below will be greatly
- appreciated. Also any comments or sugestions about to BootMenu will help
- to enhance future versions.
-
- Michael A. Toscano
- Viking SoftWare
- 20 Smallwood Place
- N. White Plains NY 10603
-
-
-
-
-
-
-
-
-
-
-
-